package net.pinnoocle.playdao.entity.shopPc.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author ye
 * @Description
 * @create 2021-12-06 15:10
 */
@Data
public class SaveUserLevelParams {

    @ApiModelProperty("级别id")
    @NotNull(message = "级别id不能为空")
    private Integer levelId;

    @ApiModelProperty("等级名称")
    @NotNull(message = "等级名称不能为空")
    private String levelName;

    @ApiModelProperty("等级折扣")
    @NotNull(message = "等级折扣不能为空")
    private Double discount;

    @ApiModelProperty("等级条件")
    @NotNull(message = "等级条件不能为空")
    private Integer autoUpgrade;
}
